﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Budget.DataAccess;

namespace Budget.WCF
{
	// NOTE: If you change the interface name "IMthCategoryService" here, you must also update the reference to "IMthCategoryService" in App.config.
	[ServiceContract]
	public interface IMthCategoryService
	{
		[OperationContract]
		IList<MthCategory> GetAll();

		[OperationContract]
		IList<MthCategory> GetByMonth( int MthId );

		[OperationContract]
		void Save( MthCategory monthCategory );

		[OperationContract]
		void Delete( int MthCategoryId );

		[OperationContract]
		MthCategory GetByMthCategoryId( int MthCategoryId );
	}
}
